package com.zr.kufangkuqu.service;

import com.zr.kufangkuqu.pojo.KuQuAdd;
import com.zr.kufangkuqu.pojo.KuQuSelectVo;
import com.zr.kufangkuqu.pojo.KuQuStatusVo;
import com.zr.util.AllRecords;
import com.zr.util.ResultVo;

import javax.validation.Valid;

/**
 * Created by star on 2019/7/16.
 */
public interface KuQuService {

    ResultVo<AllRecords> queryPage(KuQuSelectVo kuQuSelectVo);


    ResultVo<KuQuSelectVo> queryKuQuById(Integer id);

    ResultVo updateStatus(KuQuStatusVo kuQuStatusVo);

    ResultVo addKuQu(@Valid KuQuAdd kuQuAdd);
}
